<?php

include_once($mcrp . 'functions/contests.php');

$lastv = GetLastValidations(8);
?>
<table id="mc_last_validations" class="mc_table">
	<tr>
		<th>Utilisateur</th>
		<th>Epreuve</th>
		<th>Date</th>
	</tr>
<?php
foreach($lastv as $v)
{
?>
	<tr>
		<td><a href="profil.php?id=<?php echo $v['u']->id; ?>"><?php echo $v['u']->name; ?></a></td>
		<td><a href="contest.php?id=<?php echo $v['c']->id; ?>"><?php echo stripslashes($v['c']->title); ?></a></td>
		<td><?php echo date('d/m/Y - H:i:s', $v['t']); ?></td>
	</tr>
<?php
}
?>
</table>